package cn.hanyx.coder.design.pattern.behavioral.visitor.demo04;

/**
 * WordFile
 *
 * @author hanyx
 * @date 2020/07/28
 */
public class WordFile extends ResourceFile {

    public WordFile(String filePath) {
        super(filePath);
    }

    @Override
    public void accept(Extractor extractor) {
        extractor.extract2txt(this);
    }

    @Override
    public void accept(Compressor compressor) {
        compressor.compressor2txt(this);
    }
}
